home *** CD-ROM | disk | FTP | other *** search
/ EuroCD 3 / EuroCD 3.iso / Emulators / v2600 / Source.lha / Source / collision.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-04-24  |  1.1 KB  |  53 lines

  1. /*****************************************************************************
  2.  
  3.    This file is part of x2600, the Atari 2600 Emulator
  4.    ===================================================
  5.    
  6.    Copyright 1996 Alex Hornby. For contributions see the file CREDITS.
  7.  
  8.    This software is distributed under the terms of the GNU General Public
  9.    License. This is free software with ABSOLUTELY NO WARRANTY.
  10.    
  11.    See the file COPYING for details.
  12.    
  13.    $Id: collision.h,v 1.5 1996/08/29 16:03:24 ahornby Exp $
  14.  
  15.    Tweaked by Matthew Stroup for Amiga v2600, January 27, 1997.
  16.  
  17. ******************************************************************************/
  18.  
  19. /*
  20.   Defines for the hardware collision detection.
  21.   */
  22.  
  23. #ifndef COLLISION_H
  24. #define COLLISION_H
  25.  
  26. #include "col_mask.h"
  27.  
  28. /* The collsion vector */
  29. extern UBYTE* colvect;
  30.  
  31. /* The collision lookup table */
  32. extern unsigned short col_table[256];
  33.  
  34. /* The collision state */
  35. extern unsigned short col_state;
  36.  
  37. extern void
  38. init_collisions(void);
  39.  
  40. extern void 
  41. reset_collisions(void);
  42.  
  43. extern int
  44. set_collisions(UBYTE b); 
  45.  
  46. #endif
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.